<%--
  Created by IntelliJ IDEA.
  User: 皇陆洋
  Date: 2021/11/19
  Time: 17:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        input{
            width: 200px;
            height: 30px;
        }
        #box{
            width: 350px;
            height: 400px;
            border-radius: 30px;
            background-color:dodgerblue;
            position: relative;
            margin: 200px auto;
        }
        table{
            height: 300px;
            position: absolute;
            top: 40px;
            left: 30px;
        }
    </style>
</head>
<body>
<jsp:include page="top.jsp"></jsp:include>
<div id="box">
    <form action="insert" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="name"></td>
            </tr>
            <tr>
                <td>年龄：</td>
                <td><input type="text" name="age"></td>
            </tr>
            <tr>
                <td>性别：</td>
                <td><select name="sex">
                    <option value="0">男</option>
                    <option value="1">女</option>
                </select></td>
            </tr>
            <tr>
                <td>电话：</td>
                <td><input type="text" name="tel"></td>
            </tr>
            <tr>
                <td>生日：</td>
                <td><input type="date" name="bir"></td>
            </tr>
            <tr>
                <td>头像：</td>
                <td><input type="file" name="spic"></td>
            </tr>
            <tr>
                <td align="center" colspan="2"><input type="submit" value="提交" ></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
